package com.xiaotao.es.config.properties;

import lombok.Data;
import org.springframework.boot.context.properties.ConfigurationProperties;
import org.springframework.stereotype.Component;

/**
 * @author xiaotao
 */
@Data
@Component
@ConfigurationProperties(prefix = "es")
public class EsProperties {
    private String url;
    private String port;
    private String username;
    private String password;
}
